/**
 * Copyright (c) 2018-2028, LookAhead.
 * <p>
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/lgpl.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.lookahead.parent.common.secure;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户实体
 *
 * @author LookAhead
 */
@Accessors(chain = true)
@Data
public class Userinfo implements Serializable {

    private static final long serialVersionUID = 2854346764490030088L;

    @Schema(description = "客户端id")
    private String clientId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "昵称")
    private String userName;

    @Schema(description = "账号")
    private String account;

    @Schema(description = "角色id，多个用逗号隔开")
    private String roleId;

    @Schema(description = "角色名，多个用逗号隔开")
    private String roleName;

    @Schema(description = "真实姓名")
    private String realName;

}
